Skip to content

Conversation

WongChinWee
Copy link

//documentation section
/* Exercise 3 - 2D array */

//pre-processor section
#include<stdio.h>

//global variable section

//main function section
int main(){

//write here your program

char myAlphabet[3][3] = {{'h','g','f'},{'c','n','p'},{'o','m','q'}};

printf("Character from Row 3 and Column 3 is %c", myAlphabet[2][2]);



return 0;

}

//user-defined section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant